<?php
abstract class BaseTag {
	
	protected $vars;
	
	public function __construct($params = array()) {
		$this->vars = $params;
	}
	
	/**
	 * @return unknown
	 */
	public function getVar($key) {
		if (array_key_exists ( $key, $this->vars ))
			return $this->vars [$key];
		else
			return null;
	}

}
?>